Legend.addItem Method

Adds a legend item to the legend.
 

Parameters

item

Type: LegendItem
The legend item that will be added to the legend.